package Work;

public class Record {
	private String b_id;//书籍编号
	private String r_id;//读者编号
	private String borrow_time;//借阅时间
	private String return_time;//归还时间
	private String reborrow_time;//续借时间
	private String lib_confirm;//管理员确认时间
	
	public Record(String r_id, String b_id, String borrow_time, String return_time, String reborrow_time, String lib_confirm) {
		this.r_id = r_id;
		this.b_id = b_id;
		this.borrow_time = borrow_time;
		this.return_time = return_time;
		this.reborrow_time = reborrow_time;
		this.lib_confirm = lib_confirm;
	}
	
	public Record() {
		// TODO 自动生成的构造函数存根
	}

	//toString
    @Override
    public String toString() {
        return "Record{" +
        		"r_id=" + r_id +
                ",b_id=" + b_id +
                ", borrow_time='" + borrow_time + '\'' +
                ", return_time='" + return_time + '\'' +
                ", reborrow_time='" + reborrow_time + '\'' +
                ", lib_confirm='" + lib_confirm + '\'' +
                '}';
    }
    

    public String getB_ID() {
    	return b_id;
    }
    
    public void setB_ID(String id) {
    	this.b_id = id;
    }
    
    public String getR_ID() {
    	return r_id;
    }
    
    public void setR_ID(String id) {
    	this.r_id = id;
    }
    
    public String getBorrow_time() {
    	return borrow_time;
    }
    
    public void setBorrow_time(String borrow_time) {
        this.borrow_time = borrow_time;
    } 
    
    
    
    public String getReturn_time() {
    	return return_time;
    }
    
    public void setReturn_time(String return_time) {
        this.return_time = return_time;
    } 
    
    
    
    public String getReborrow_time() {
    	return reborrow_time;
    }
    
    public void setReborrow_time(String reborrow_time) {
        this.reborrow_time = reborrow_time;
    } 
    
    
    
    public String getLib_confirm() {
    	return lib_confirm;
    }
    
    public void setLib_confirm(String lib_confirm) {
        this.lib_confirm = lib_confirm;
    } 
    
    
}
